import { http } from '@/utils/http'

export const getCorpusListAPI = (data: any) => {
  return http<any[]>({
    method: 'GET',
    url: '/mobile/marketing/corpus/list',
    data,
  })
}

export const getCorpusAPI = (followRecordId: number | string) => {
  return http<any[]>({
    method: 'GET',
    url: '/mobile/marketing/corpus/' + followRecordId,
  })
}
